<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
	<!--left begin-->
    <div class="fl left">
		<div class="subMenu1">
            <ul id="nav_left">
                <li><a href="<%=basePath%>trade/codeList" class="current">系统编码</a></li>
                <li><a href="<%=basePath%>trade/deptList">部门管理</a></li>
                <li><a href="<%=basePath%>trade/userList">人员管理</a></li>
                <!-- <li><a href="<%=basePath%>trade/roleList">角色管理</a></li>-->
                <li><a href="<%=basePath%>trade/company?action=modify">公司信息</a></li>
            </ul>
        </div>
    </div>
	<!--left end-->
	
<script type="text/javascript">
// class="current"
var navrefs= document.getElementById('nav_left').getElementsByTagName('a');
var find_out=false;
for (var i=0, len = navrefs.length;i<len;i++){
	if (location.href.indexOf(navrefs[i].href)>-1){
	     navrefs[i].className = 'current';
	     find_out=true;
	} else {
	     navrefs[i].className = ''; 
	}
}
if(find_out==false){
	navrefs[0].className = 'current';
}
</script>